package com.baomidou.ant.service;

import com.baomidou.ant.entity.LuckDraw;
import com.baomidou.ant.entity.User;
import com.baomidou.ant.vo.Response.ResponseLuckDrawOfPointsVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jobob
 * @since 2021-03-24
 */
public interface ILuckDrawService extends IService<LuckDraw> {
    //展示我的抽奖纪录
    List<ResponseLuckDrawOfPointsVo> list(Integer userId, String type);
    //奖励发放方法
    void pullPrize(Integer result, String type, User user);
}
